<dl class="n-box">
	<dt class="n-box-head">
		<div class="n-right">
			<a href="<?=n_url('mprank','sta')?>">返回</a>
		</div>
		<b>[<?=$data['category']['first_category']?>-<?=$data['category']['second_category']?>]分类列表</b>
	</dt>
	<dd class="n-box-body">
		<table id="mp-list" class="n-size-full n-table">
			<tbody>
				<tr>
					
					<th style="text-align: left;">公众号名</th>
					<th>平均阅读量</th>
					<th>总阅读数</th>
					<th>头条阅读量</th>
					<th>最高阅读数</th>
					<th>点赞数</th>
					<th>中指数</th>
					<th>删除</th>
					<th>#</th>
				</tr>
		
			<?php foreach ($data['rank_mplist'] as $mp):?>
				<tr>
					<td style="text-align: left;">
						<a href="<?=n_url('weixin', 'detail', ['wxid'=>$mp['wxid']])?>" target="_blank">
							<?=$mp['wxname']?>
						</a>
					</td>
					<?php if(N_ACTION=="rankweekly"):?>
						<td><?=n_api('weixin')->numMore($mp['all_read_num_sum'])?></td>
					<?php else:?>
						<td><?=n_api('weixin')->numMore($mp['all_read_num'])?></td>
					<?php endif;?>
					<td>
						<?=n_api('weixin')->numMore($mp['head_read_num'])?>
						</td>
					<td><?=n_api('weixin')->numMore($mp['average_read_num'])?></td>
					<td><?=n_api('weixin')->numMore($mp['max_read_num'])?></td>
					<td><?=$mp['all_like_num']?></td>
					<td><?=$mp['weixin_index']?></td>
					<td><?=n_ui(n_url('union','unionDel',array('wxid'=>$mp['wxid'])),"删除")?></td>
					<td><input type="checkbox" /></td>
				</tr>
			<?php endforeach;?>
			</tbody>
		</table>		
		<div class="n-paging"><?=$data['paging']?></div>
	</dd>
</dl>
